package com.iot.iotplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("qf_tenant")
public class Tenant {
    @TableId(type = IdType.NONE)
    private String id;
    private String name;
    private String pwd;
    private String companyName;
    private String companyCode;
    private Integer enable;
    private String description;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Integer deleted;
    private String accessKey;
    private String accessSecurity;
    private int auditStatus;
    private String phone;

}
